package com.crm.sys.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import com.crm.base.model.BaseModel;

/** 
Create Table

CREATE TABLE `crm_log` (
  `id` bigint(20) DEFAULT NULL COMMENT 'id',
  `contentid` bigint(20) DEFAULT NULL COMMENT '操作内容ID',
  `description` text COMMENT '操作内容描述',
  `uid` bigint(20) DEFAULT NULL COMMENT '操作人',
  `remark` text COMMENT '备注',
  `state` int(11) DEFAULT NULL COMMENT '状态（根据类别定义）',
  `category` int(11) DEFAULT NULL COMMENT '类别(0 客户  1 简历)',
  `createdate` datetime DEFAULT NULL COMMENT '创建时间',
  `createuser` varchar(20) DEFAULT NULL COMMENT '创建人',
  `updatedate` datetime DEFAULT NULL COMMENT '修改时间',
  `updateuser` varchar(20) DEFAULT NULL COMMENT '修改人'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='操作日志记录'

*/
public class Log  extends BaseModel  {
 
	/**
	 * 
	 */
	private static final long serialVersionUID = -4513251285271077839L;
	private Long contentid; //操作内容ID
	private String contentname;//操作资源名称
	private String description; //操作内容描述
	private Long uid; //操作人
	private String username;//操作人名称
	private String remark; //备注
	private Integer state; //'状态（根据类别定义）
	private Integer category;//类别(0 客户  1 简历)
	private Long oid; //所属人
 
 
	public String getContentname() {
		return contentname;
	}
	public void setContentname(String contentname) {
		this.contentname = contentname;
	}
	public void setContentid(Long contentid){
		this.contentid=contentid;
	}
	public Long getContentid(){
		return contentid;
	}
	public void setDescription(String description){
		this.description=description;
	}
	public String getDescription(){
		return description;
	}
	public void setUid(Long uid){
		this.uid=uid;
	}
	public Long getUid(){
		return uid;
	}
	public void setRemark(String remark){
		this.remark=remark;
	}
	public String getRemark(){
		return remark;
	}
	public void setState(Integer state){
		this.state=state;
	}
	public Integer getState(){
		return state;
	}
	public void setCategory(Integer category){
		this.category=category;
	}
	public Integer getCategory(){
		return category;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
	public Long getOid() {
		return oid;
	}
	public void setOid(Long oid) {
		this.oid = oid;
	}
}

